<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="Author" content="">
    <meta content="" name="design">
    <title>注册</title>
    <link rel="stylesheet" href="css/base.css"/>
    <script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="js/jquery.placeholder.min.js"></script>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="js/html5shiv.v3.72.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="login regist">
    <h1>注册</h1>
    <form action="" class="form">
        <div class="user"><input type="text" placeholder="请输入您的用户名"/><b></b></div>
        <p>请使用有效邮箱作为您的用户名</p>
        <div class="pwd"><input type="password" placeholder="请输入您的密码"/><b></b></div>
        <a href="#" id="submit">注&nbsp;&nbsp;&nbsp;册</a>
        <a href="login.html" id="regist">立即登录？</a>
    </form>

</div>


<script type="text/javascript">
    //整站无图处理
    jQuery.each(jQuery("img"), function (i, n) {
        jQuery(n).error(function () {
            n.src = 'images/nopic.jpg';
        });
        n.src = n.src;
    });
    //    input中有placeholder，加上一个js和以下代码
    $(function () {
        $('input, textarea').placeholder();
    });
</script>
<script type="text/javascript">

</script>
</body>
</html>

